#include "hideScreenMenu.h"
#include "lcd.h"

void hideScreenMenu(Params_T* _ptParams, State_T* _ptState)
{
    switch (_ptState->keyValue)
    {
    case KEY_UP_K1:
        _ptParams->eNextMenu = _ptParams->eLastModeMenu;
        break;
    case KEY_UP_K2:
        _ptParams->eNextMenu = _ptParams->eLastModeMenu;
        break;
    case KEY_UP_K3:
        _ptParams->eNextMenu = _ptParams->eLastModeMenu;
        break;
    case KEY_UP_K4:
        _ptParams->eNextMenu = _ptParams->eLastModeMenu;
        break;
    default:
        break;
    }
}